perm filename GENERI.TEX[CLS,LSP] blob sn#845862 filedate 1987-09-15 generic text, type T, neo UTF8
\input macros
\drafttrue
\def\bookline{\CLOS\  Specification}
\def\chapline{Functions in the Programmer Interface}

\begincom{generic-function}\ftype{Special Form}

\label Purpose:

The {\bf generic-function} special form creates a purely anonymous
generic function.  The generic function is created with the specified
set of lambda-expressions as its methods.

\label Syntax:

\Defspec _{generic-function} {
{\rm$\{$}
\lparen \tt lambda \it 
\vtop{\hbox{\star{\curly{method-qualifiers}} specialized-lambda-list}
\hbox{\star{\curly{declaration $\vert$ documentation}} \star{\curly{form}}
\rparen \star{\rm$\}$}}}}


\label Arguments:

The {\it method-qualifiers\/} and {\it specialized-lambda-list\/} arguments
are the same as for {\bf defmethod}.

\label Values:

The generic function object is returned as the result.

\label Remarks:

If no lambda-expressions are specified, an anonymous generic function
with no methods is created.

\label See Also:

{\bf defmethod

defgeneric-options}

\endcom
\end